package com.spboot.tx.pojo;

import com.baomidou.mybatisplus.annotation.*;
import com.jntoo.db.*;
import java.io.Serializable;
import java.util.*;

@TableName("dati")
public class Dati implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    private Integer id;

    private Integer wenjuanid;

    private String zhuti;

    private String yisheng;

    private String timu;

    private String leixing;

    private String daan;

    private String zimu;

    private String yonghu;

    private String addtime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getWenjuanid() {
        return wenjuanid;
    }

    public void setWenjuanid(Integer wenjuanid) {
        this.wenjuanid = wenjuanid == null ? 0 : wenjuanid;
    }

    public String getZhuti() {
        return zhuti;
    }

    public void setZhuti(String zhuti) {
        this.zhuti = zhuti == null ? "" : zhuti.trim();
    }

    public String getYisheng() {
        return yisheng;
    }

    public void setYisheng(String yisheng) {
        this.yisheng = yisheng == null ? "" : yisheng.trim();
    }

    public Wxuser getYishenguser() {
        return DB.name(Wxuser.class).where("id", yisheng).find();
    }

    public String getTimu() {
        return timu;
    }

    public void setTimu(String timu) {
        this.timu = timu == null ? "" : timu.trim();
    }

    public String getLeixing() {
        return leixing;
    }

    public void setLeixing(String leixing) {
        this.leixing = leixing == null ? "" : leixing.trim();
    }

    public String getDaan() {
        return daan;
    }

    public void setDaan(String daan) {
        this.daan = daan == null ? "" : daan.trim();
    }

    public String getZimu() {
        return zimu;
    }

    public void setZimu(String zimu) {
        this.zimu = zimu == null ? "" : zimu.trim();
    }

    public String getYonghu() {
        return yonghu;
    }

    public void setYonghu(String yonghu) {
        this.yonghu = yonghu == null ? "" : yonghu.trim();
    }

    public Wxuser getYonghuuser() {
        return DB.name(Wxuser.class).where("id", yonghu).find();
    }

    public String getAddtime() {
        return addtime;
    }

    public void setAddtime(String addtime) {
        this.addtime = addtime == null ? "" : addtime.trim();
    }
}
